package com.dreamwhale.machinery.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 签到记录表
 * </p>
 *
 * @author Author
 * @since 2020-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yx_user_sign")
public class YxUserSign implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户uid
     */
    private Integer uid;

    /**
     * 签到说明
     */
    private String title;

    /**
     * 获得积分
     */
    private Integer number;

    /**
     * 剩余积分
     */
    private Integer balance;

    /**
     * 添加时间
     */
    private Integer addTime;


}
